<html>
<head>
    <meta name="layout" content="freshmade">
</head>

<body>
<div id="content-wrapper">
    <div class="center-wrapper">
        <div class="content">
            <div id="main">
                <div class="post">
                    <div class="post-title">
                        <h1>File Store</h1>
                        上传下载文件，目前只限管理员使用
                        <g:render template="/template/messageBar"/>
                    </div>

                    <div class="post-date">
                        <g:render template="/template/createdBy1"/>
                    </div>
                </div>
                <g:form method="post" action="uploadDo" enctype="multipart/form-data">
                    <div id="myform">
                        <div class="field">
                            <div class="key">上传文件</div>

                            <div class="value">
                                <input type="file" name="file"/>
                            </div>

                            <div class="hint">
                                不要上传过大的文件
                            </div>

                            <div class="clear"></div>
                        </div>

                        <div class="buttonbar">
                            <input type="submit" class="button" value="Submit"/>
                        </div>
                    </div>
                </g:form>
            </div>
        </div>
    </div>
</div>
</body>
</html>